import Vue from 'vue'
import {
  Card,
  Button,
  Form,
  FormItem,
  Input,
  Pagination,
  Table,
  TableColumn,
  Tooltip,
  Message,
  MessageBox
} from 'element-ui'

Vue.use(Card)
  .use(Button)
  .use(Form)
  .use(FormItem)
  .use(Input)
  .use(Pagination)
  .use(Table)
  .use(TableColumn)
  .use(Tooltip)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
